<!-- 
   透明边框中主要使用到的技术为CSS中background-clip,
   background-clip主要是用来设置背景侵入边框的所在范围
   初始值为border-box
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div>
        透明边框
    </div>
</body>

</html>